<?php
class Routing{
	// THE only instance of the class
	private static $instance;


	private function __construct() {}


	/**
	 *    Returns THE instance of 'Routing'.
	 *    The session is automatically initialized if it wasn't.
	 *
	 *    @return    object
	 **/

	public static function getInstance()
	{
		if ( !isset(self::$instance))
		{
			self::$instance = new self;
		}
			
		return self::$instance;
	}


	public static function urlRouting($name,$param)
	{

	}

	public static function getParam()
	{
		return explode('/', QUERY_STRING);
	}
}
//$requestURI = explode(‘/’, $_SERVER[‘REQUEST_URI’]);